public class ABMPAgent extends Agent
fNegotiation, parametervalues, sessionNr, sessionsTotal, startTime, strategyParameters, timeline, totalTime, utilitySpace| Constructor and Description |
|---|
ABMPAgent()
Creates a new instance of MyAgent
|
| Modifier and Type | Method and Description |
|---|---|
Action |
chooseAction()
this function is called after ReceiveMessage,
with an Offer-action.
|
void |
init()
This method is called by the protocol every time before starting a new
session after the internalInit method is called.
|
void |
ReceiveMessage(Action opponentAction)
informs you which action the opponent did
|
endSession, getAgentID, getName, getParameterValues, getSessionNumber, getSessionsTotal, getStrategyParameters, getUtility, getVersion, internalInit, isUIAgent, loadSessionData, parseStrategyParameters, restartDataObjectsFolder, saveSessionData, setAgentID, setName, sleeppublic void init()
Agentpublic void ReceiveMessage(Action opponentAction)
AgentReceiveMessage in class Agentpublic Action chooseAction()
AgentchooseAction in class Agent